"""
赋值运算符
alt+shift+上下键 复制代码至上下行
"""
a=5
b=2

a+=b
print(a) #7

a-=b
print(a) #5

a*=b
print(a) #10

a/=b
print(a) #5.0

a//=b
print(a) #2.0

print("--------------比较运算符")
a=5
b=2
print(a<=b)
print(a!=b)

print("---------------逻辑运算符")
print("true and false:",True and False) #与
print("true and false:",True and True)

print("true and false:",True or False) #或
print("true and false:",False or False)

print("not true:",not True) #非